package com.ctp.bean;

public class AccountBean {

	private double balance = 0;

	private double available = 0;

	private double closeProfit = 0;

	private double positionProfit = 0;

	private double commission = 0;

	public void setAccountBean(String[] params) {
		balance = Double.parseDouble(params[1]);
		available = Double.parseDouble(params[2]);
		closeProfit = Double.parseDouble(params[3]);
		positionProfit = Double.parseDouble(params[4]);
		commission = Double.parseDouble(params[5]);
	}

	public double getBalance() {
		return balance;
	}

	public double getAvailable() {
		return available;
	}

	public double getCloseProfit() {
		return closeProfit;
	}

	public double getPositionProfit() {
		return positionProfit;
	}

	public double getCommission() {
		return commission;
	}

}
